<template>
  <el-dialog
    v-model="conf.visible"
    title="功能菜单详情"
    draggable
    width="76%"
    :before-close="hide"
  >
  
    <el-tabs v-model="conf.selected">
      <el-tab-pane label="详情" name="first">
        <el-row :gutter="24">
</el-row>
      </el-tab-pane>
    </el-tabs>
    <template #footer>
      <span style="height: 60px"> </span>
    </template>
  </el-dialog>
</template>
<script>
export default {
  data() {
    return {
        conf:{
        visible:false,
        selected:"first"
      },
      view: {
        },
      }
  },
  methods: {
    show(form) {
    this.conf.visible = true
    let that = this;
    this.$theia.http
      .get("/systemmenu",form)
      .then((res) => {
        Object.assign(that.view, res)
      })
      .catch((res) => {
        let code = res.response.status;
        let msg = `功能菜单查询失败(${code})`;
        that.$notify.error({ title: "失败", message: msg, duration: 5000 });
      });
  },
   colorful(r){
     return this.$theia.env.conf.colorful[r]
  },
  },
};
</script>